/**
 * The Community Project
 * Copyright Team1 Productions
 * 
 * Joshua Amick
 * Stephen Cunningham
 * Thema Davis
 * Tomika Dawson
 * Lucie DeCristofaro
 * 
 * All Rights Reserved.
 */

package com.domain;

import java.io.Serializable;
import java.math.BigInteger;
import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name="email")
public class Email extends BaseObject implements Serializable{
	private Timestamp sendDate;
	private String emailSubject;
	private String emailMessage;
	private boolean publicEmail;
	private String replyToAddress;
	
	@Column(name="email_message", length=2048, nullable=true)
	public String getEmailMessage() {
		return emailMessage;
	}
	public void setEmailMessage(String emailMessage) {
		this.emailMessage = emailMessage;
	}
	
	@Column(name="email_subject", length=128, nullable=true)
	public String getEmailSubject() {
		return emailSubject;
	}
	public void setEmailSubject(String emailSubject) {
		this.emailSubject = emailSubject;
	}
	
	@Column(name="public_email")
	public boolean isPublicEmail() {
		return publicEmail;
	}
	public void setPublicEmail(boolean publicEmail) {
		this.publicEmail = publicEmail;
	}
	
	@Column(name="reply_to_address", length=128, nullable=true)
	public String getReplyToAddress() {
		return replyToAddress;
	}
	public void setReplyToAddress(String replyToAddress) {
		this.replyToAddress = replyToAddress;
	}
	
	@Column(name="send_date")
	public Timestamp getSendDate() {
		return sendDate;
	}
	public void setSendDate(Timestamp sendDate) {
		this.sendDate = sendDate;
	}
	
	
}
